package org.jeecg.modules.htxincailiao.order.constant;

import org.jeecg.domain.BaseEnum;


public enum HTOrderStatusEnum implements BaseEnum {
    //账户类型: 0-待付款 1-待发货 2-待收货 3-已完成 4-已取消

    /**
     * 待付款
     */
    WAITING_USER_PAY(0, "待付款"),

    /**
     * 待发货
     */
    WAITING_DELIVERY(1, "待发货"),

    /**
     * 待收货
     */
    WAITING_RECEIVING(2, "待收货"),

    /**
     * 已完成
     */
    COMPLETED(3, "已完成"),

    /**
     * 已取消
     */
    CANCEL(4, "已取消");


    private final Integer value;

    private final String desc;

    HTOrderStatusEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    /**
     * 获取枚举类的值
     *
     * @return Integer
     */
    @Override
    public Integer getValue() {
        return value;
    }

    /**
     * 获取枚举类的说明
     *
     * @return String
     */
    @Override
    public String getDesc() {
        return this.desc;
    }
}
